let person = {
	name : 'nc',
	age: 20,
	gender: 'male',
	display : function(){
		console.log('hello, my name is ' + this.name +
                    ' i\'m ' + this.age + ' years old.');
	}
};

person.display()


function Computer(number, cpu, gpu){
    this.number = number;
    this.cpu = cpu;
    this.gpu = gpu;
    this.print = function(){
        console.log(this.number + " " + this.cpu + " " + this.gpu);
    }
}

let my_computer = new Computer("12", "i5-8500U", "MX150");
my_computer.print();
